package com.wjj.sixinone.common.pojo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class DrugExcel {
    @ExcelProperty(value = "药品编号", index = 0)
    private String drugNo;

    /**
     * 药剂名称
     */
    @ExcelProperty(value = "药品名称", index = 1)
    private String drugName;

    /**
     * 药剂价格
     */
    @ExcelProperty(value = "药品价格", index = 2)
    private String drugPrice;

    /**
     * 药剂库存数量
     */
    @ExcelProperty(value = "药品库存数量", index = 3)
    private String drugQuantity;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注", index = 4)
    private String drugRen;
    @ExcelProperty(value = "药品图片", index = 5)
    private String img;
    @ExcelProperty(value = "创建人", index = 6)
    private String createUser;
    @ExcelProperty(value = "更新人", index = 7)
    private String updateUser;
    @ExcelProperty(value = "创建时间", index = 8)
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @ExcelProperty(value = "更新时间", index = 9)
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")

    private LocalDateTime updateTime;

}
